﻿<div class="ui pagination mini menu">
    <a class="item" ng-click="changeIndex(1)">
        首页
    </a>
    <a class="icon item" ng-click="changeIndex(currentIndex-1)">
        <i class="chevron left icon"></i>
    </a>
    <a class="{{item.class}} item" ng-repeat="item in pages" ng-click="changeIndex(item.value)">{{item.display}}</a>
    <a class="icon item" ng-click="changeIndex(currentIndex+1)">
        <i class="chevron right icon"></i>
    </a>
    <a class="item" ng-show="showLast" ng-click="changeIndex(maxPage)">
        末页
    </a>
</div>